<? 
	include '../libraries/open_db_connection.php';
	include '../libraries/get_values.php';
	include '../libraries/support.php';
	include '../auth/auth.php';
	include '../libraries/close_db_connection.php';
?>

<html>
<title >
 Administration help
</title> 
<body >
 

<BR>
By default administration panel allows to edit events. In navigator panel there is a link to blog administration and gallery administration.
<BR>
<UL>
<A>Events administration:</A>
<LI> Add event opens a form to create new event
<LI> The date must be in format "day month year" with spaces between and at least three letters for month name, i.e. "3 sep 2007"
<LI> Active events are shown in Events subpage of the website. Inactive events are hidden.
<LI> Events can be visible on hompage if set so.
<LI> Event content can be edited
<LI> Event cannot be deleted - the way to hide it is by making it inactive
<LI> Any text formatting needs to be done using HTML tags
</UL>

<UL>
<A>Blog administration:</A>
<LI> Add entry opens a form to put entry details
<LI> The date must be in format "day month year" with spaces between and at least three letters for month name, i.e. "3 sep 2007"
<LI> Active blog entries are visible in dog blog
<LI> Entry cannot be deleted - the way to hide it is by making it inactive
<LI> Any text formatting needs to be done using HTML tags
</UL>
<UL>
</A>Gallery administration:</A>
<LI> The blog entries list or events list needs to be selected first
	<UL>
	<A>Events gallery:</A>
<LI> The event can have zero or many pictures
<LI> the picture is related to event forever and cannot be moved to any other event
<LI> the pictures for events can be inactive
<LI> the pictures for events cannot be deleted
<LI> there is one and only one main picture for event - it is shown on event description; all the others pictures are shown only in gallery
<LI> if the main picture for event is hidden, the event is not shown in gallery
<LI> uploading picture for event makes it automatically main picture for event
	</UL>
	<UL>
	<A>Blog gallery:</A>
<LI> for each blog entry there is one and only one main picture
<LI> there cannot be any more pictures for blog entry
<LI> if the picture is removed from blog entry it is not deleted and can be added to any entry
<LI> one picture can be related to one and only one blog entry
<LI> uploading of picture for entry makes it main picture for entry and removes any other relations for the entry
<LI> any inactive picture can be set as the entry main picture
	</UL>
</UL>
<BR>
The restriction is a picture file name - uploading picture with filename already existing may overwrite the old file. Even if uploading is not done, the database entries are created, so it is a workaround to assign the same picture to several blog entries or events. Uploading takes its time and refreshing won't help it.
<BR><A>Uploading pictures:</A>
<UL>
<LI>Go to administration pane select Gallery administration
<LI>Select real you want to upload a picture to - events or blog entries
<LI>Find appropriate event or blog entry and click link "Upload image for event ..." or "Upload image for entry ..."
<LI>A form with image titile, description and control to select the image file is shown. Please fill all the fields and select picture using Brows... button
<LI>When "Submit query" button is pressed, image is sent to server. It may take several minutes based on network speed and image size
<LI>Image's thumbnail is created and image is added to database. At the end "File(s) Uploaded" information is shown.
<LI>Please select link "Back to gallery admin"
<LI>Please verify image's thumbnail is added under correct event or entry
<LI>Edit info for... --image name-- allows to change title and description
<LI>Link "Show"/"Hide" allows to make picture visible in gallery
<LI>Link "Make main picture for event" make the image visible in the "Events" page as a thumbnail near the event. Otherwise image is shown only in Gallery page
<LI>For blog entries, there can be only one picture, so pictures can be "Uploaded", "Changed" from pictures already uploaded to server, or "Removed"
</UL>
</body>
</html>
